import { Controller, Get } from "@midwayjs/core";
import Config from "@/base/Config";

@Controller("/", { ignoreGlobalPrefix: true })
export class SysIndexController {

    @Get("", { routerName: __dirname, description: "首页接口提示" })
    async index() {
        return `欢迎使用${Config.JnConfig.name}后台管理框架，当前版本：v${Config.JnConfig.version}，请通过前端地址访问。`
    }

}
